package com.dream.technology.db.dao;

import com.dream.technology.db.entity.RcFlowLog;
import com.dream.technology.db.entity.RcFlowLogQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RcFlowLogMapper {
    int countByExample(RcFlowLogQuery example);

    int deleteByExample(RcFlowLogQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(RcFlowLog record);

    int insertSelective(RcFlowLog record);

    List<RcFlowLog> selectByExample(RcFlowLogQuery example);

    RcFlowLog selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RcFlowLog record, @Param("example") RcFlowLogQuery example);

    int updateByExample(@Param("record") RcFlowLog record, @Param("example") RcFlowLogQuery example);

    int updateByPrimaryKeySelective(RcFlowLog record);

    int updateByPrimaryKey(RcFlowLog record);

    List<RcFlowLog> selectControlFlowLog(@Param("customerId") Long customerId, @Param("name") String name);
}
